package com.xixi.pojo.vo.statistics.order;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderStatsVO {
    // 订单总数
    private Integer totalOrders;
    // 订单总金额(只计算已支付和已完成)
    private BigDecimal totalAmount;
    // 已完成订单数
    private Integer completedOrders;
    // 平均订单金额
    private BigDecimal avgOrderAmount;
    private Integer buyerOrders;
    private BigDecimal buyerAmount;
    private Integer sellerOrders;
    private BigDecimal sellerAmount;
}
